#!/usr/bin/env bash
mvn clean

mvn -DskipTests package

ssh root@192.168.96.15 "docker stop mq_test"

ssh root@192.168.96.15 "rm -f /home/www/src/mq_test/mq_test.jar"

scp ./target/mq_test.jar root@192.168.96.15:/home/www/src/mq_test/

ssh root@192.168.96.15 "docker restart mq_test"
